From: Andreas Schwab Date: Tue, 29 Oct 2002 23:40:47 +0000 (+0000) Subject: (replace-regexp-in-string): Doc fix. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~29977 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=383d6a16831a449e8dc942d48981442fcc1f0f20;p=emacs.git (replace-regexp-in-string): Doc fix. --- diff --git a/lisp/subr.el b/lisp/subr.el index 857c6134719..17ca52c6292 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1790,7 +1790,7 @@ point are such that match 0 is the function's argument. To replace only the first match (if any), make REGEXP match up to \\' and replace a sub-expression, e.g. - (replace-regexp-in-string \"\\(foo\\).*\\'\" \"bar\" \" foo foo\" nil nil 1) + (replace-regexp-in-string \"\\\\(foo\\\\).*\\\\'\" \"bar\" \" foo foo\" nil nil 1) => \" bar foo\" "